package com.hdl.service;

import com.hdl.pojo.User;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * 接口名 IHelloService
 * 描述 远程服务对象接口必须继承Remote接口；同时方法必须抛出RemoteExceptino异常
 *
 * @author hedonglin
 * @version 1.0
 * @date 2020/6/9 12:27
 */
public interface IHelloService extends Remote {
    String sayHello(User user) throws RemoteException;
}
